package com.marchsoft.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 *
 * 异常的状态码和异常信息
 * 枚举：固定实例个数的类
 * @author rsw
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum ExceptionEnum {
    //登录

    //学生信息
    STUDENT_NOT_FOUND(404,"学生信息不存在！"),
    STUDENT_ERROR_FOUND(500,"学生信息不存在！"),
    STUDENT_APPLYING_TEACHER_ERROR(500,"学生申请导师状态错误！"),
    STUDENT_APPLYING_GROUP_ERROR(500,"学生申请兴趣小组状态错误！"),
    //会议记录
    COMM_NOT_FOUND(404,"您所查询的会议记录不存在"),
    INSERT_COMM_ERROR(500,"插入会议记录失败"),
    //兴趣小组
    GROUP_NOT_FOUND(404,"您所查询的兴趣小组不存在"),

    ;
    private int code;
    private String msg;

}
